package cn.edu.scau.cmi.liweihang.composite.consist;

import java.util.Set;

public interface Component {

    String getName();
	
	void setName(String name);
	
	Component getTeam();
	
	void setTeam(Component team);
	
	Component addChild(Component child);
	
	Component removeChild(Component child);
	
	Set<Component> getChildren();
	
	void setChildren(Set<Component> children);
}
